## Script (Python) "addPrePopulatedFolder"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=parent="", id=""
##title=Subject Area
##
# First, create an instance of the portal_type most like the 
# one we want, to allow the instance to be persisted in the ZODB.

from Products.CMFCore.utils import getToolByName
urltool = getToolByName(context, 'portal_url')
portal = urltool.getPortalObject()
container = portal


container.invokeFactory(id="societa", type_name='Folder', title="Società")
container.invokeFactory(id="foto-gallery", type_name='Folder', title="Foto Gallery")
container.invokeFactory(id="images", type_name='Folder', title="Images")
container.invokeFactory(id="discipline", type_name='Folder', title="Discipline")
container.invokeFactory(id="sponsor", type_name='Folder', title="Sponsor")
